package ai.taromed.vr;

import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;


import java.io.Serializable;

/**
 * Created by Ads on 2017/4/12.
 */

public class ConfigBundle implements Serializable{

    private int menuIndex;
    private String filePath;
    private String videoHotspotPath;
    private boolean imageModeEnabled;
    private boolean planeModeEnabled;
    private boolean windowModeEnabled;
    private boolean removeHotspot;
    private int mimeType;

    private ConfigBundle() {
        filePath=null;
        videoHotspotPath=null;
        imageModeEnabled=false;
        planeModeEnabled=false;
        windowModeEnabled=false;
        removeHotspot=false;
    }

    public static ConfigBundle newInstance(){
        return new ConfigBundle();
    }

   

    public int getMenuIndex() {
        return menuIndex;
    }

    public ConfigBundle setMenuIndex(int menuIndex) {
        this.menuIndex = menuIndex;
        return this;
    }

    public String getFilePath() {
        return filePath;
    }

    public ConfigBundle setFilePath(String filePath) {
        this.filePath = filePath;
        return this;
    }

    public String getVideoHotspotPath() {
        return videoHotspotPath;
    }

    public ConfigBundle setVideoHotspotPath(String videoHotspotPath) {
        this.videoHotspotPath = videoHotspotPath;
        return this;
    }

    public boolean isImageModeEnabled() {
        return imageModeEnabled;
    }

    public boolean isPlaneModeEnabled() {
        return planeModeEnabled;
    }

    public ConfigBundle setPlaneModeEnabled(boolean planeModeEnabled) {
        this.planeModeEnabled = planeModeEnabled;
        return this;
    }

    public boolean isWindowModeEnabled() {
        return windowModeEnabled;
    }

    public boolean isRemoveHotspot() {
        return removeHotspot;
    }

    public ConfigBundle setRemoveHotspot(boolean removeHotspot) {
        this.removeHotspot = removeHotspot;
        return this;
    }


    public int getMimeType() {
        return mimeType;
    }
}
